Subject: Monitor Tricks in C++ 1.0 Author: Kenneth Worley Uploaded By: KNEworley Date: 7/2/1995 File: Monitor Tricks in C++ 1.0.sit (40864 bytes) Estimated Download Time (60658 baud): < 1 minute Download Count: 327 Needs: System 7 or later Keywords: GRAPHICS DEVICE SCREEN QUICKDRAW CLUT FADE LIBRARY: MDV/Developer Source Code/C++ KEYWORDS: GRAPHICS DEVICE SCREEN QUICKDRAW CLUT FADE Monitor Tricks in C++ v1.0 by Kenneth Worley Hi! This archive contains a C++ class designed to represent a graphics device (monitor). The idea is to create one object of this class for each monitor connected to the Mac. The object then allows you to easily change the monitor's bit depth or color/gray mode. It also allows you to fade the monitor to black or any other color using a "clut fade" and to restore it afterward. If there is more than one monitor, they can be faded independently and more or less asynchronously. In other words, once you start the fade, you are not restricted from fading another monitor beginning at the same time or sometime during the fade of the first monitor. The archive also includes a Metrowerks CodeWarrior project which builds a "dashboard" application to demonstrate the class. The application resembles a regular C application except that it creates objects of type MONITOR to represent monitors connected to the Mac. Enjoy! Ken ------------------------------------------------------------ Macintosh Developers Forum Libraries Go Keyword: MDV This file has been checked for viruses with Disinfectant 3.6